﻿// ================================================
// TUserItem.cs, 玩家技能结构
// Copyright (C) 2012 Daomi
// ================================================

using System.Runtime.InteropServices;
namespace SystemModule
{
    /// <summary>
    /// 玩家技能结构
    /// </summary>
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
    public class TUserMagic
    {
        public TMagic MagicInfo;
        /// <summary>
        /// 技能ID
        /// </summary>
        public ushort wMagIdx;
        /// <summary>
        /// 等级
        /// </summary>
        public byte btLevel;
        /// <summary>
        ///  技能快捷键
        /// </summary>
        public byte btKey;
        /// <summary>
        /// 技能升级所需点数
        /// </summary>
        public int nTranPoint;
    }
}
